package common.pojo;

import common.pojo.Hotel;

public class HotelView {
	private int id;
	private String name;
	private String address;
	private String tel;
	private String summary;
	private String introduction;
	private String orderNote;
	private String traffic;

	
	private String goodComment;
	private Double minPrice;
	private Integer comment;
	
	public HotelView(Hotel hotel, String goodComment, Double minPrice,int comment){
		this.id =  hotel.getId();
		this.name=hotel.getName();
		this.address = hotel.getAddress();
		this.tel=hotel.getTel();
		this.introduction = hotel.getIntroduction();
		this.summary =hotel.getSummary();
		this.orderNote = hotel.getOrderNote();
		this.traffic = hotel.getTraffic();	
		this.comment = comment;
		this.goodComment = goodComment;
		this.minPrice = minPrice;

	}

	public Integer getComment() {
		return comment;
	}

	public void setComment(Integer comment) {
		this.comment = comment;
	}

	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Double getMinPrice() {
		return minPrice;
	}
	public void setMinPrice(Double minPrice) {
		this.minPrice = minPrice;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}


	public String getGoodComment() {
		return goodComment;
	}

	public void setGoodComment(String goodComment) {
		this.goodComment = goodComment;
	}

	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getOrderNote() {
		return orderNote;
	}
	public void setOrderNote(String orderNote) {
		this.orderNote = orderNote;
	}
	public String getTraffic() {
		return traffic;
	}
	public void setTraffic(String traffic) {
		this.traffic = traffic;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
}
